﻿using System.Runtime.Serialization;
using System.Xml.Serialization;

namespace WCF.Common.GisService
{
    /// <summary>表示一个数据服务图层对象。</summary>
    [DataContract(Namespace = Constrons.NameSpace)]
    public class ServiceBase
    {
        /// <summary>获取或设置数据服务编码，唯一标识。</summary>
        [DataMember, XmlAttribute]
        public string Code { get; set; }
        /// <summary>获取或设置组件的标题。</summary>
        [DataMember, XmlAttribute]
        public string Caption { get; set; }
    }
}